package com.lpit.service;

import com.lpit.dto.CommentsDto;
import com.lpit.result.ResponseResult;

/**
 * @author Yao Chen
 */
public interface CommentService {
    /**
     * 添加评论
     * @param commentsDto
     * @author Yao Chen
     * @return ResponseResult<Integer>
     */
    ResponseResult<Integer> addComments(CommentsDto commentsDto);

    /**
     * 累计评论数
     */
    ResponseResult<Long> getCommentCount();

}
